home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / IIGS / TN.IIGS.032 < prev    next >
Encoding:
Text File  |  1988-12-16  |  2.9 KB  |  58 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Apple IIGS
  8. #32:    /INH Line Anomaly
  9.  
  10. Revised by:    Glenn A. Baxter & Rob Moore                      November 1988
  11. Written by:    Glenn A. Baxter                                  December 1986
  12.  
  13. This Technical Note describes a hardware anomaly which affects the use of the 
  14. /INH line on the Apple IIGS.
  15. _____________________________________________________________________________
  16.  
  17. The Apple IIGS maps logical addresses in main and auxiliary RAM spaces to 
  18. physical RAM devices in such a way that using the /INH line can cause bus 
  19. contention under certain conditions.  This Note describes the problem and 
  20. suggests a solution strategy.
  21.  
  22. In the Apple IIGS, main memory resides within four physical 64 x 4 DRAMs.  
  23. Memory is logically mapped into two separate banks of 64K x 8.  The logical 
  24. map of main memory is slightly different than what one might expect.  Owing to 
  25. the demands of new video modes on the IIGS, the DRAMs need a greater amount of 
  26. time to perform their function.  The easiest way to allocate time in  a fixed, 
  27. time-based system is to use a memory interleaving mechanism, and the IIGS 
  28. implements its video in this fashion.
  29.  
  30. As a result of this interleaving scheme, the logical map of main and auxiliary 
  31. memory does not correspond directly to physical DRAMs, but are split in three 
  32. places.  The split looks like the following:
  33.  
  34.     First Physical 64K                   Second Physical 64K
  35.     Main Memory         $0000 - $5FFF    Auxiliary Memory    $0000 - $5FFF
  36.     Auxiliary Memory    $6000 - $9FFF    Main Memory         $6000 - $9FFF
  37.     Main Memory         $A000 - $FFFF    Auxiliary Memory    $A000 - $FFFF
  38.  
  39. Only part of the first physical bank of RAM is inhibited when /INH is brought 
  40. low; therefore, the /INH function only works between $0000 - $5FFF and $A000 - 
  41. $FFFF in main memory and $6000 - $6FFF in auxiliary memory.  If a card 
  42. attempts to inhibit main memory in the range of $6000 - $9FFF or auxiliary 
  43. memory in the ranges $0000 - $5FFF or $A000 - $FFFF, bus contention results as 
  44. both the Mega II and the 74HCT245 buffer device attempt to drive the bus 
  45. simultaneously (which can damage the Mega II).
  46.  
  47. Because earlier Apple II systems do not arrange their physical memory as 
  48. described above, cards which use the /INH line may be compatible with the 
  49. Apple ][+ and IIe, but not with the IIGS.  To be compatible with all Apple II 
  50. systems, a card should include an address mask that will prevent /INH from 
  51. going low when the address in in the sensitive ranges of main or auxiliary 
  52. memory.  The following logic equation represents an appropriate blocking 
  53. signal for main memory inhibition:
  54.  
  55.     BLOCK    =    /A15    *    A14    *    A13    ;BLOCK $6000-$7FFF
  56.              +    A15    *    /A14    *    /A13   ;BLOCK $8000-$9FFF
  57.  
  58.